package com.siss.tenancy.finals;

public final class RegxFinal {
	
	/**会员正则13800138000*/
	public static final String REGX_USERNAME_MEMBER = "[1]{1}[34578]{1}[0-9]{9}";
		
	/**公司内部用户正则zhangsan,lisisi*/
	public static final String REGX_USERNAME_SEAYOBUSI = "[a-zA-Z]*";
	
	/**身份证正则**/
	public static final String REGX_USERNAME_IDCARD = "^\\d{15}|^\\d{17}([0-9]|X|x)$";
	
	/**手机号码正则**/
	public static final String REGX_USERNAME_MOBILE = "^((13[0-9])|(15[^4])|(18[0,2,3,5-9])|(17[0-8])|(147))\\d{8}$";
	
	/**数字正则**/
	public static final String REGX_USERNAME_DIGITAL = "^[0-9]*$";
	
	public static void main(String[] args) {
		String idcard = "36233019901128633x";
		System.out.println(idcard.matches(REGX_USERNAME_IDCARD));
		
	}

}
